package ecnu.ecgbackend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Blob;
import java.sql.Timestamp;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("raw_data_fragment")
public class RawDataFragment implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(value = "fragment_id")
    private String fragmentId;
    @TableField(value = "`interval`")
    private Integer rate;
    @TableField(value = "`length`")
    private Integer length;
    private byte[] content;
    private String rawDataId;
    private Integer offset;
    private Timestamp createTime;
    private Integer handleCnt;
    private String manufacturer;
    private String leads;
}
